Executable Speci cations for Concurrent Programming
نویسندگان
چکیده
Concurrent programming has been diicult to do, both from a programming and a formal ver-iication perspective. The main reasons are that the concurrency constructs are low-level and their use is intertwined with the rest of the program. In this paper, we use as a basis a new concurrent programming model called Open Constraint Programming. Its roots are in Concurrent Constraint Programming where there is a shared constraint store, and synchronization is achieved via constraint entailment. The key advantages here are (a) the concurrent behavior of agents is formalized and explicitly represented as constraints, (b) the speciication is executable, that is, agents run only as permitted, (c) there is a clear separation of the concurrent aspects of the agents' behavior from the rest of the code, and (d) agents are programming language independent.
منابع مشابه
Executing Formal Specifications with Constraint Programming
We have implemented a technique for execution of formal, model-based speci cations. The speci cations we can execute are written at a level of abstraction that has not previously been supported in executable speci cation languages. The speci cation abstractions supported by our execution technique include quanti ed assertions that reference post-state values, and indirect de nitions of post-sta...
متن کاملAn Executable Semantics for a Formalized Data Flow Diagram Speci cation Language
While traditional Data Flow Diagrams (DFDs) are popular, they lack the formality needed in a good speci cation technique. We provide an executable semantics for a subset of RTSPECS, a formalization of DFDs, using the programming language Standard ML. RT-SPECS is a formal notation for specifying concurrent and real-time software that relies on model-based speci cation of abstract datatypes. Proc...
متن کاملA Multi{agent Speciication Environment for Complex Software Applications
The goal of the thesis is the de nition of a speci cation environment for Complex Distributed Software Applications. More precisely, the aim is to investigate all the issues connected to the realization of executable speci cations for such applications, using new technologies rising in the elds of Logic Programming, Multi{Agent Systems and Distributed Software Engineering. In this context, we w...
متن کاملForms of Logic Specifications: A Preliminary Study
2 October, 1996 ISSN 1100{0686 Forms of Logic Speci cations: A Preliminary Study Kung-Kiu Lauy Mario Ornaghi Dept of Computer Science DSI University of Manchester Universita' degli studi di Milano Manchester M13 9PL Via Comelico 39/41, Milano United Kingdom Italy [email protected] [email protected] Abstract There is no universal agreement on exactly what form a speci cation sho...
متن کاملProsper: A Language for Specification by Prototyping
The PROSPER functional speci cation language supports a \speci cation by prototyping" paradigm and relies on a unique and powerful type speci cation facility. Executable polymorphic speci cations can be built from a small set of primitives. Types and functions are treated as values and can be the arguments and results of functions. Flexible parameterized type expressions are used to specify pol...
متن کامل